<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width"> 

	<title><?php echo $Koma['Config']->Koma->Title ?></title>

	<?php echo $Koma['StyleManager']->renderTag(NS_BASE_URL . '/system/asset/css') ?> 
	<link rel="stylesheet" href="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/css/style.default.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/css/style.custom.css" type="text/css" />

	<?php echo $Koma['ScriptManager']->renderTag(NS_BASE_URL . '/system/asset/js') ?> 
	<!--
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/jquery-1.9.1.min.js"></script>
	-->
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/jquery-migrate-1.1.1.min.js"></script>
	<!--
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/jquery-ui-1.9.2.min.js"></script>
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/bootstrap.min.js"></script>
	-->
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/jquery.uniform.min.js"></script>
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="<?php echo $Koma['Config']->Koma->ThemePublicURL ?>/js/custom.js"></script>
</head>
    
<body>
<div class="mainwrapper">

    <!-- START OF LEFT PANEL -->
    <div class="leftpanel">

        <div class="logopanel">
        	<h1><a href="<?php echo NS_ROOT_URL ?>">SIMTUR <span>v1.0</span></a></h1>
        </div><!--logopanel-->
        
        <div class="datewidget"><?php echo date('d/m/Y') ?></div>
    
    	<div class="searchwidget">
            <form action="results.html" method="post">
            	<div class="input-append">
                    <input type="text" class="span2 search-query" placeholder="Search here...">
                    <button type="submit" class="btn"><span class="icon-search"></span></button>
                </div>
            </form>
        </div><!--searchwidget-->

        <div class="plainwidget">
        	<small>Using 16.8 GB of your 51.7 GB </small>
        	<div class="progress progress-info">
                <div class="bar" style="width: 20%"></div>
            </div>
            <small><strong>38% full</strong></small>
        </div><!--plainwidget-->

        <div class="leftmenu">
	    <?php echo $Koma['Blocks']['MenuBlock']; ?>
        </div><!--leftmenu-->

    </div><!--mainleft-->
    <!-- END OF LEFT PANEL -->

    <!-- START OF RIGHT PANEL -->
    <div class="rightpanel">
    	<div class="headerpanel">
        	<a href="" class="showmenu"></a>

            <div class="headerright">

    		<div class="dropdown userinfo">
                    <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="/page.html">Hi, <?php echo $Koma['User']['FullName'] ?>! <b class="caret"></b></a>
                    <?php if($Koma['User']['Username'] != ''): ?>
		    <ul class="dropdown-menu">
                        <li><a href="editprofile.html"><span class="icon-edit"></span> Edit Profile</a></li>
                        <li class="divider"></li>
                        <li><a href="<?php echo NS_BASE_URL ?>/system/auth/logout/<?php echo $Koma['User']['Token'] ?>"><span class="icon-off"></span> Sign Out</a></li>
                    </ul>
		    <?php endif; ?>
                </div><!--dropdown-->

            </div><!--headerright-->

    	</div><!--headerpanel-->

	<!-- Breadcrumb, header and content -->
	<?php echo $Koma['Content'] ?>
	<!-- Breadcrumb, header and content -->

    </div><!--mainright-->
    <!-- END OF RIGHT PANEL -->

    <div class="clearfix"></div>

    <div class="footer">
    	<div class="footerleft">SI Manufaktur KOMA</div>
    	<div class="footerright">&copy; <a href="http://www.inationsoft.com">Inationsoft</a></div>
    </div><!--footer-->

</div><!--mainwrapper-->
</body>
</html>